//
//  BaseInfoTableViewCell.m
//  MyProject
//
//  Created by jiaming yan on 2017/9/12.
//  Copyright © 2017年 yanjiaming. All rights reserved.
//

#import "BaseInfoTableViewCell.h"

@implementation BaseInfoTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.editButton.titleEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);
}

- (void)getModelGetResume:(ResumeModel *)model{
//    if (model.userName.length == 0) {
//        self.heightBack.constant = 254.5 - 40 - 30 +5;
//    }else{
//        self.heightBack.constant = 254.5;
//    }
    self.labName.text = model.name;;
    self.labSex.text =model.sex;
    self.labEducation.text = model.maxEducationName;
    if (model.workYear!=0) {
        self.labWorkYears.text = [NSString stringWithFormat:@"%zd年",model.workYear];
    }
    self.labCity.text = model.birthday;
//    self.labTelePhone.text = model.mobile;
//    self.labEmail.text = model.email;
//    self.labOneDescription.text = model.remark;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


@end
